package com.woniuxy.common.DTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: linKe
 * @Date: 2022/1/19 15:21
 * @FileName: ResponseResult
 * @version: 1.0
 * @Description: 全局同意响应实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class ResponseResult<T> {
    private int status;
    private String msg;
    private T data;
}
class test{
    public static void main(String[] args) {
        ResponseResult<Object> build = ResponseResult.builder().status(2).build();
    }
}